package adv3;

import java.util.Arrays;

public class StrTest3 {

	public static void main(String[] args) {
		// String
		String s = "我喜欢java和python";
		char c[] = s.toCharArray();
		for (int i = 0; i < c.length; i++) {
			System.out.print((int) c[i] + " ");
		}
		System.out.println();
		byte[] b = s.getBytes();
		System.out.println(Arrays.toString(b));
		System.out.println(s.codePointAt(2));
		System.out.println(">>>>>>>>>>>>>.");
		s = s + Math.E + (144 + 6);
		System.out.println(s);
		s = s.concat("c#");
		System.out.println(s);
	}
}
